package com.example.mytest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import  java.util.List;
@RestController
public class testcontroller {
    @GetMapping("/hello")
    public List <String> hello() {
return List.of ("hello world");
    }
}
